package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffAchievementTypeDto
 * @使用场景
 */
@Data
public class BffAchievementTypeDto implements Serializable {

  /**
   * 成果类型ID
   */
  @ApiModelProperty("成果类型ID")
  private String achievementTypeId;

  /**
   * 成果类型编号
   */
  @ApiModelProperty("成果类型编号")
  private String achievementTypeNumber;

  /**
   * 成果类型名称
   */
  @ApiModelProperty("成果类型名称")
  private String achievementTypeName;

  /**
   * 是否标准成果类型 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否标准成果类型")
  private String isStandard;

  /**
   * 版权归属别名
   */
  @ApiModelProperty("版权归属别名")
  private String belongName;

  /**
   * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
   */
  @ApiModelProperty("主体生命周期")
  private String subjectLifeCycle;

  /**
   * 操作人就职记录ID
   */
  @ApiModelProperty("操作人就职记录ID")
  private String operationInductionId;

  /**
   * 操作时间
   */
  @ApiModelProperty("操作时间")
  private Date operateTime;

  /**
   * 用户昵称
   */
  @ApiModelProperty("用户昵称")
  private String nickName;

  /**
   * 真实姓名
   */
  @ApiModelProperty("真实姓名")
  private String idCardName;

  /**
   * 真实头像
   */
  @ApiModelProperty("真实头像")
  private String userFace;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffAchievementTypeDto that = (BffAchievementTypeDto) o;
      return  achievementTypeId == that.achievementTypeId&&achievementTypeNumber == that.achievementTypeNumber&&achievementTypeName == that.achievementTypeName&&isStandard == that.isStandard&&belongName == that.belongName&&subjectLifeCycle == that.subjectLifeCycle&&operationInductionId == that.operationInductionId&&operateTime == that.operateTime&&nickName == that.nickName&&idCardName == that.idCardName&&userFace == that.userFace;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), achievementTypeId,achievementTypeNumber,achievementTypeName,isStandard,belongName,subjectLifeCycle,operationInductionId,operateTime,nickName,idCardName,userFace);
    }

}
